From 698232a43a81a633c2c393df727b18e0d03da257 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 10 Feb 2015 17:18:23 +0000 Subject: [PATCH] libxl: ao abort: Note that driver domain task cannot be usefully aborted MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In practice, aborting this task will cause all subsequent actual backend operations to fail, but will not actually cause the libxl_device_events_handler operation to complete. Signed-off-by: Ian Jackson CC: Roger Pau Monné Acked-by: Roger Pau Monné Acked-by: Ian Campbell --- v2: New in this version of the series. --- tools/libxl/libxl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index b5a8fdfe30..a1c5d150b1 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -1426,6 +1426,9 @@ libxl_device_pci *libxl_device_pci_list(libxl_ctx *ctx, uint32_t domid, * From a libxl API point of view, this starts a long-running * operation. That operation consists of "being a driver domain" * and never completes. + * + * Attempting to abort this operation is not advisable; proper + * shutdown of the driver domain task is not supported. */ int libxl_device_events_handler(libxl_ctx *ctx, const libxl_asyncop_how *ao_how) -- 2.30.2